/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package facade;

import entities.NonWorkingDay;
import java.util.Date;
import java.util.List;


/**
 *
 * @author PabloSebastian
 */

public interface NonWorkingDayFacadeRemote {

    void create(NonWorkingDay nonWorkingDay);

    void edit(NonWorkingDay nonWorkingDay);

    void remove(NonWorkingDay nonWorkingDay);

    NonWorkingDay find(Object id);

    List<NonWorkingDay> findAll();

    List<NonWorkingDay> findRange(int[] range);

    int count();
    
    List<Date> findAllByPyme(int pymeIdentification);
    
    void saveNonWorkingDays(int pymeIdentification, List<List<Date>> dates);
    
    void deleteNonWorkingDays(int pymeIdentification, String date);
    
}
